﻿@model E_Ticaret.Models.Customer
<h2>
    Login</h2>
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Müşteri Girişi</legend>@*  <div class="editor-label">
            @Html.LabelFor(model => model.FullName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.FullName)
            @Html.ValidationMessageFor(model => model.FullName)
        </div>*@
        <div class="editor-label">
            E-Mail
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EmailAdres)
            @Html.ValidationMessageFor(model => model.EmailAdres)
        </div>
        <div class="editor-label">
            Şifre
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Password)
            @Html.ValidationMessageFor(model => model.Password)
        </div>
        @* <div class="editor-label">
            @Html.LabelFor(model => model.InvoiceAdress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.InvoiceAdress)
            @Html.ValidationMessageFor(model => model.InvoiceAdress)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DeliveryAdress)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DeliveryAdress)
            @Html.ValidationMessageFor(model => model.DeliveryAdress)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.PhoneNumber)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.PhoneNumber)
            @Html.ValidationMessageFor(model => model.PhoneNumber)
        </div>*@
        <p>
            <input type="submit" value="Login" />
        </p>
    </fieldset>
}
<div>
    @Html.ActionLink("Geri Dön", "Index", "Home")
</div>
